package com.poisonh.unifiedauth.model;

import io.realm.RealmObject;
import io.realm.annotations.PrimaryKey;

/**
 * Created by wish30_2 on 2017/2/27.
 */

public class IdCard extends RealmObject {

    /****
     * 主键Id
     */
    @PrimaryKey
    private String id;
    /****
     * 身份证名称
     */
    private String name;
    /****
     * 性别
     */
    private String sex;
    /****
     * 民族
     */
    private String familyName;
    /****
     * 出生日期
     */
    private String birth;
    /****
     * 地址
     */
    private String address;
    /****
     * 公民身份证号
     */
    private String idNumber;
    /****
     * 签发机关
     */
    private String issuingOrganization;
    /****
     * 有效期限
     */
    private String effectiveDate;
    /****
     * 用户头像
     */
    private String headImg;



    /**
     * 人脸认证头像
     */
    private String compareImg;
    /****
     * 用户Id
     */
    private String uid;
    /***
     * 新增时间
     */
    private String addTime;
    /***
     * 修改时间
     */
    private String modifyTime;
    /**
     * 是否通过实名认证  0：没通过， 1：通过
     * @return
     */

    private int isCert;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getFamilyName() {
        return familyName;
    }

    public void setFamilyName(String familyName) {
        this.familyName = familyName;
    }

    public String getBirth() {
        return birth;
    }

    public void setBirth(String birth) {
        this.birth = birth;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getIdNumber() {
        return idNumber;
    }

    public void setIdNumber(String idNumber) {
        this.idNumber = idNumber;
    }

    public String getIssuingOrganization() {
        return issuingOrganization;
    }

    public void setIssuingOrganization(String issuingOrganization) {
        this.issuingOrganization = issuingOrganization;
    }

    public String getEffectiveDate() {
        return effectiveDate;
    }

    public void setEffectiveDate(String effectiveDate) {
        this.effectiveDate = effectiveDate;
    }

    public String getHeadImg() {
        return headImg;
    }

    public void setHeadImg(String headImg) {
        this.headImg = headImg;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getAddTime() {
        return addTime;
    }

    public void setAddTime(String addTime) {
        this.addTime = addTime;
    }

    public String getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(String modifyTime) {
        this.modifyTime = modifyTime;
    }

    public void setCert(int isCert) {
        this.isCert = isCert;
    }

    public int getCert() {
        return isCert;
    }

    public String getCompareImg() {
        return compareImg;
    }

    public void setCompareImg(String compareImg) {
        this.compareImg = compareImg;
    }
}
